cloudprint: Fix redundant declarations
authorSimon McVittie <smcv@debian.org>
Sat, 8 Aug 2020 13:19:14 +0000 (14:19 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 8 Aug 2020 13:24:31 +0000 (14:24 +0100)
G_DEFINE_DYNAMIC_TYPE declares these functions as static, and
-Werror=redundant-decls won't let us redeclare them. This is the
equivalent of 72c72d0b, but for a different backend.

Signed-off-by: Simon McVittie <smcv@debian.org>
modules/printbackends/gtkprintbackendcloudprint.c

index f99bcca2bee43de422e9b1b9bbbc7b0e2246604c..f347fc433971ff8afc55ce230ecc9bbb989206aa 100644 (file)
@@ -71,8 +71,6 @@ struct
 } typedef TGOAAccount;
 
 static GObjectClass *backend_parent_class;
-static void                 gtk_print_backend_cloudprint_class_init      (GtkPrintBackendCloudprintClass *class);
-static void                 gtk_print_backend_cloudprint_init            (GtkPrintBackendCloudprint      *impl);
 static void                 gtk_print_backend_cloudprint_finalize       (GObject *object);
 static void                 cloudprint_printer_get_settings_from_options (GtkPrinter           *printer,
                                                                          GtkPrinterOptionSet  *options,